/**
 * 
 */
package neptune.console.cli.commands;

import java.util.List;

import org.springframework.stereotype.Component;

import neptune.console.CLCommand;
import neptune.manager.installation.Installator;

/**
 * @author Roberto Bifulco [info@robertobifulco.it]
 * 
 */
@Component
public class Init implements CLCommand {

	@Override
	public String getCommandHelp() {
		return "Initialize Neptune, this operation should be done only on the first use of Neptune";
	}

	@Override
	public String getCommandName() {
		return "init";
	}

	@Override
	public void processCommand(List<String> args) throws Exception {
		Installator installator = new Installator();
		installator.install("./default");
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see neptune.console.CLCommand#getParamsDescription()
	 */
	@Override
	public String getParamsDescription() {
		return "";
	}
}
